<div class="pageContent">
        <if condition="isset($info)">
            <form method="post" action="__URL__/update" enctype="multipart/form-data"  class="pageForm required-validate" onsubmit="return iframeCallback(this, dialogAjaxDone);">
        <else />
            <form method="post" action="__URL__/insert" enctype="multipart/form-data"  class="pageForm required-validate" onsubmit="return iframeCallback(this, dialogAjaxDone);">
        </if>
        <div class="pageFormContent" layoutH="56">
            <div style="margin-top: 10px;width:100%;float:left;">
                <label style="font-size:12px;margin-left:10px;">积分类型：</label>
                <select  name="typeValue"  style="width:100px;float:left;">
                    <option value="0" <?php  if($info["typeValue"] == 0){ echo "selected='true'"; } ?>>注册</option>
                    <option value="1" <?php  if($info["typeValue"] == 1){ echo "selected='true'"; } ?>>购买</option>
                 </select>
            </div>
            <div style="margin-top: 10px;width:100%;float:left;">
                <label style="font-size:12px;margin-left:10px;">积分：</label>
                <input name="score" type="text" size="30" value="{$info.score}" class="required "/>
            </div>            
            <div style="margin-top: 10px;width:100%;float:left;">
                <label style="font-size:12px;margin-left:10px;">时间范围:</label>
                    <input type="text"  name="time"  value="{$info.startTime}" class="date" readonly="true"style="float:left;"/>
                    <span style="float:left;">&nbsp;&nbsp;至&nbsp;&nbsp;</span>
                    <input type="text"  name="times" value="{$info.endTime}" class="date" readonly="true"/>
            </div>                  
        </div>
        <div class="formBar">        
        <ul>
            <if condition="in_array('update', $privilegelist)">
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <input type="hidden" name="id" value="{$info.id}"/>
                        <button type="submit">保存</button>

                    </div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">取消</button>
                    </div>
                </div>
            </li>
            </if>
        </ul>
        </div>
    </form>
</div>
